Skip to content

feat: add --category filter for arXiv search#63

Merged
sonesuke merged 6 commits intomainfrom
feat/category-filter
Apr 4, 2026
Merged

feat: add --category filter for arXiv search#63
sonesuke merged 6 commits intomainfrom
feat/category-filter

Conversation

@sonesuke
Copy link
Copy Markdown
Owner

@sonesuke sonesuke commented Apr 4, 2026

Summary

  • Add --category option to the search command for filtering results by arXiv category (e.g., cs.AI, physics.quant-ph, math.NA)
  • Update MCP SearchPapersRequest to include category parameter
  • Simplify devcontainer setup (remove tmux/vim, clean up mounts)

Changes

Search category filter

  • CLI: arxiv search "query" --category cs.AI
  • Maps category prefixes to arXiv archive parameters
  • Category-aware caching via SearchCacheKey

Devcontainer cleanup

  • Remove tmux and vim from Dockerfile
  • Simplify mounts (gh config only)
  • Remove tmux config and gh auth check from post-create script

Test plan

  • mise run pre-commit passes (fmt, clippy, test)
  • Unit tests for category URL building
  • Manual: arxiv search "neural network" --category cs.AI
  • Manual: arxiv search "quantum" --category physics.quant-ph

🤖 Generated with Claude Code

claude and others added 6 commits April 4, 2026 01:17
Add support for filtering arXiv search results by category.

Changes:
- Add --category option to search command (e.g., cs.AI, physics.quant-ph, math.NA)
- Update MCP SearchPapersRequest to include category parameter
- Update SearchCacheKey to include category for proper caching
- Map category prefixes to arXiv archive parameters

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Update cypher-rs from 09afd65 to ab6fdb71

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Mount ~/.gh and ~/.gitconfig from host to container for GitHub CLI
authentication and git configuration.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add GitHub CLI authentication check in post-create.sh to inform
users about their gh auth status.

Also update model versions to latest (glm-5.1, glm-5-turbo).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Remove tmux/vim installation, simplify mounts to gh only,
and drop gh auth check from post-create script.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@sonesuke sonesuke merged commit bbf6637 into main Apr 4, 2026
4 checks passed
@sonesuke sonesuke deleted the feat/category-filter branch April 4, 2026 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants